//
//  StatusModel.m
//  JewelryStore
//
//  Created by apple on 2016/12/22.
//  Copyright © 2016年 com. All rights reserved.
//

#import "StatusModel.h"

@implementation StatusModel

- (void)setModel:(NSArray *)model
{
    _isSelected = NO;
    
    _number = 5;
    
    _price = 10086.00f;
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        
        _isSelected = NO;
        
        _number = 1;
        
        _price = 1000.0f;
        
    }
    return self;
}
- (CGFloat)totalPrice
{
    return  _price * _number;
}

@end
